package com.feicheng.lanniao.service.order;

import com.feicheng.lanniao.entity.PayOrder;
import com.feicheng.lanniao.result.ResultInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderService {

    /**
     * @param clientId 用户id
     * @param money     订单消费
     * @param description 订单描述
     * @description 支付成功后插入一条订单
     * @return
     */
    ResultInfo insertOrder(Integer clientId,Integer money,String description);


    /**
     * @param clientId 用户Id
     * @description 根据用户Id查询订单列表
     * @return
     */
    ResultInfo selectPayOrderListByClientId(Integer clientId,Integer page,Integer size);


}
